home *** CD-ROM | disk | FTP | other *** search
- global gVRSprite1, gVRSprite2, gPanoMovieID, gPanoMovieObj, gReturning, gVR.PanoFilename, gVR.CurrentNodeID, gVR.CurrentHotSpotID
-
- on exitFrame
- CloseNavMovie()
- ClosePanoMovie()
- set the ink of sprite gVRSprite1 to 0
- set the ink of sprite gVRSprite2 to 0
- updateStage()
- set the ink of sprite gVRSprite1 to 1
- set the ink of sprite gVRSprite2 to 1
- updateStage()
- if the machineType = 256 then
- StartMovieVR256a()
- OpenPanoMovie(gVR.PanoFilename, gVRSprite1, 0)
- else
- if gReturning = 1 then
- OpenPanoMovie(gVR.PanoFilename, gVRSprite1, 0)
- else
- OpenPanoMovie(gVR.PanoFilename, gVRSprite1, 1)
- end if
- end if
- cursor(200)
- cursor(-1)
- if the machineType = 256 then
- if objectp(gPanoMovieObj) then
- go(the frame + 1)
- set gVR.CurrentNodeID to string(gPanoMovieObj(mGetNodeID))
- set gVR.CurrentHotSpotID to "0"
- if gReturning = 1 then
- lookBeforeYouLeap()
- else
- jumpIntroWindows()
- end if
- exit
- end if
- else
- if gPanoMovieID <> EMPTY then
- go(the frame + 1)
- set gVR.CurrentNodeID to string(PanoMovie("Direct", gPanoMovieID, "Get", "nodeID"))
- set gVR.CurrentHotSpotID to "0"
- if gReturning = 1 then
- lookBeforeYouLeap()
- end if
- exit
- end if
- end if
- go("Start")
- updateStage()
- alert("Can't open file:" & RETURN & RETURN & QUOTE & gVR.PanoFilename & QUOTE & RETURN & RETURN & "as a panoramic movie.")
- end
-